home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / print / bounding.cpt / BBFig.Read Me < prev   
Encoding:
Text File  |  1991-08-30  |  2.0 KB  |  20 lines

  1. Here is a hunk of PostScript code I pulled from the net sometime back.  Below the dashed line is the "Read Me" information that came with it.
  2.  
  3. To use it, "print" your work to a PostScript file on disk (either using the reasonably well-known, but still undocumented, Command-F trick or LaserWriter 7's "PostScript file" option.  Then use your favourite editor to stick the accompanying PostScript code at the very beginning of it.  Finally, send the PostScript file to your printer using SendPS or the System 7 LaserWriter Utility (for Mac's) or to your mainframe's laser PostScript printer.  [I've used it successfully on the Agfa P400PS we have; it should(?) work on other PostScript printers too I think]
  4.  
  5. Please note that this code will give you the bounding box for the image which can sometimes be successfully used to make the work into an Encapsulated PostScript (EPS) file *providing* it obeys various other rules for EPS files.
  6.  
  7. Mike Brudenell  (pmb1@york.ac.uk)
  8.  
  9. PS.  Please note that I'm only posting this because of great demand; I don't know how it works!!
  10.  
  11. -----------------------------------------------------------
  12.  
  13. Date: Sat, 28 APR 90 20:02:42 PDT
  14. From: "Micro Mauler"  <MICRO2.SCHWER@crvax.sri.com>
  15. Subject: Re: Info-Mac V8-I82 BoundingBox Information
  16.  
  17. Enclosed is a PostScript program call BBFIG written by Ned Baetchler (spell?) and Trevor Darrell for determining the BoundBox of PostScript files. Simply preappend this PostScript program to the PostScript file for which you want to determine the BoundBox. Send the combined file to a PostScript printer and it will print the PostScript image with a BoundingBox drawn around it and the BoundingBox coordinates listed below the figure; the BoundingBox coordinates are also returned in the print job log file, if one exists (use PSend to get a log file  a Mac).
  18.  
  19. NOTE: BBFIG is for purists. I find it easier and more accurate to simple print the figure and use a "points" ruler to measure the BoundingBox.   --Len Schwer   micro2.schwer@sri.com
  20.